[IA64] workaround NaT consumption fault when hiding a PCI function from dom0
authorawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Thu, 7 Dec 2006 23:18:55 +0000 (16:18 -0700)
committerawilliam@xenbuild2.aw <awilliam@xenbuild2.aw>
Thu, 7 Dec 2006 23:18:55 +0000 (16:18 -0700)
The free_irq() path seems to have trouble with devices hidden from
dom0 for driver domains.  The result is a NaT consumption fault in
the reboot notifier_call_chain() when dom0 reboots.  This workaround
prevents the problem until it can be further investigated.

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
xen/arch/ia64/xen/hypercall.c

index 15e9f5b26b5fa9c8b7bc1e304a41513b8f3610f5..69be18efcd4d61bf725dc6cbce32f4c2dbb24fac 100644 (file)
@@ -472,7 +472,12 @@ static long do_physdev_op(int cmd, XEN_GUEST_HANDLE(void) arg)
             vector > IA64_LAST_DEVICE_VECTOR)
             break;
         
-        free_irq_vector(vector);
+        /* XXX This should be called, but causes a NAT consumption via the
+        * reboot notifier_call_chain in dom0 if a device is hidden for
+        * a driver domain using pciback.hide= (specifically, hiding function
+        * 1 of a 2 port e1000 card).
+        * free_irq_vector(vector);
+        */
         ret = 0;
         break;
     }